// 卧理机DB
export const deviceRecumentDB = [
  {
    plcId: 2,
    block: 64,
  },
  {
    plcId: 2,
    block: 65,
  },
  {
    plcId: 3,
    block: 24,
  },
];

// 磨边机DB
export const edgeDB = [
  {
    plcId: 6,
    block: 0,
  },
  {
    plcId: 7,
    block: 0,
  },
  {
    plcId: 8,
    block: 0,
  },
  {
    plcId: 9,
    block: 0,
  },
  {
    plcId: 10,
    block: 0,
  },
];

// 清洗机
export const cleanDB = [
  {
    plcId: 11,
    block: 1,
  },
  {
    plcId: 12,
    block: 1,
  },
  {
    plcId: 13,
    block: 1,
  },
  {
    plcId: 14,
    block: 1,
  },
  {
    plcId: 15,
    block: 1,
  },
];

// 清洗后五线
export const cleanAfterDB = [
  {
    plcId: 100,
    block: 2,
    zoneNum: 1,
    deviceType: "stage",
  },
  {
    plcId: 100,
    block: 2,
    zoneNum: 2,
    deviceType: "stage",
  },
  {
    plcId: 100,
    block: 2,
    zoneNum: 3,
    deviceType: "stage",
  },
  {
    plcId: 100,
    block: 2,
    zoneNum: 4,
    deviceType: "stage",
  },
  {
    plcId: 100,
    block: 2,
    zoneNum: 5,
    deviceType: "stage",
  },
];

// 笼前小车
export const catDB = [
  {
    plcId: 100,
    block: 2,
    zoneNum: 1,
    deviceType: "car",
  },
  {
    plcId: 100,
    block: 2,
    zoneNum: 2,
    deviceType: "car",
  },
  {
    plcId: 100,
    block: 2,
    zoneNum: 3,
    deviceType: "car",
  },
  {
    plcId: 100,
    block: 2,
    zoneNum: 4,
    deviceType: "car",
  },
];
export const cageDB = [
  {
    plcId: 100,
    block: 2,
  },
];

// 中空小车
export const catBDB = [
  {
    plcId: 300,
    block: 21,
    zoneNum: 100,
    deviceType: "car",
  },
  {
    plcId: 300,
    block: 21,
    zoneNum: 101,
    deviceType: "car",
  },
  {
    plcId: 300,
    block: 21,
    zoneNum: 200,
    deviceType: "car",
  },
  {
    plcId: 300,
    block: 21,
    zoneNum: 201,
    deviceType: "car",
  },
  {
    plcId: 300,
    block: 21,
    zoneNum: 300,
    deviceType: "car",
  },
  {
    plcId: 300,
    block: 21,
    zoneNum: 301,
    deviceType: "car",
  },
];

// 分片台
export const shardDB = [
  {
    plcId: 101,
    block: 63,
  },
  {
    plcId: 101,
    block: 63,
  },
];

// 钢化炉
export const temperDB = [
  {
    plcId: 16,
    block: 0,
  },
  {
    plcId: 16,
    block: 0,
  },
];

// 钢化炉后台子
export const temperAfterDB = [
  { plcId: 200, block: 31, deviceType: "temperingConveyorTable" },
];

// 双笼plcx信号
export const doubleCageDB = [{ plcId: 300, block: 21 }];
// 中空线
export const kongLineDB = [
  { plcId: 18, block: 0, deviceType: "insulatingGlassProcessingLine" },
  { plcId: 19, block: 0, deviceType: "insulatingGlassProcessingLine" },
  { plcId: 20, block: 0, deviceType: "insulatingGlassProcessingLine" },
  { plcId: 21, block: 0, deviceType: "insulatingGlassProcessingLine" },
];

export const allDB = [
  ...deviceRecumentDB,
  ...edgeDB,
  ...cleanAfterDB,
  ...cleanDB,
  ...catDB,
];
